# -*- encoding: utf-8 -*-
"""
@File : calculate.py
@Time : 2021/6/14 13:52
@Author : Linleil
"""
from calculator import Calculator


res = Calculator.bmi_calculate(1.7, 75)
if res[0]:
    bmi = res[1]
    print(bmi)
    other = Calculator.judge_bmi(bmi)
    print(other[1])
else:
    print(res[1])
